{template "content","header"}
<!--main-->
<div id="main">
	<div id="left">	
	{template "content","left"}
	</div>
	<div id="right">	
		<h1>{$catname}</h1>
		<div class="write">
			{pc:content action="lists" catid="$catid" num="20" order="id DESC" page="$page"}
			<ul class="list">
				{loop $data $r}
					<li><span class="rt">{date('Y-m-d H:i:s',$r[inputtime])}</span>·<a href="{$r[url]}" target="_blank"{title_style($r[style])}>{$r[title]}</a></li>
					{if $n%5==0}<li class="bk20 hr"></li>{/if}
				{/loop}
			</ul>
			<div id="pages">{$pages}</div>
			{/pc}
		</div>
	</div>
	<div class="clear"></div>
</div>
<!--main-->
{template "content","footer"}